import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.junit.Test;


/**
 * Created by peng on 2017/5/1.
 */
public class TestLog {


    private static Logger logger2 = LogManager.getLogger(TestLog.class);

    @Test
    public void test(){
        logger2.info("111111111111111111111");
    }

    @Test
    public void testTime(){


        logger2.trace("trace level");
        logger2.debug("debug level");
        logger2.info("info level");
        logger2.warn("warn level");
        logger2.error("error level");
        logger2.fatal("fatal level");
    }
}
